package org.jeecg.modules.icon.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.modules.icon.check.CheckParam;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description: bim_geo_icon
 * @Author: jeecg-boot
 * @Date: 2022-12-06
 * @Version: V1.0
 */

@Data
@TableName("bim_geo_icon")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bim_geo_icon对象", description="bim_geo_icon")
public class BimGeoIcon implements Serializable {
    private static final long serialVersionUID = 1L;

    /**id*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private java.lang.Integer id;
    /**图标标识*/
    @Excel(name = "图标标识", width = 15)
    @ApiModelProperty(value = "图标标识",required = true)
    @CheckParam
    private java.lang.String uniqueCode;
    /**icon名称*/
    @Excel(name = "icon名称", width = 15)
    @ApiModelProperty(value = "icon名称")
    @NotBlank(message = "icon名称不能为空")
    private java.lang.String name;
    /**字体大小*/
    @Excel(name = "字体大小", width = 15)
    @ApiModelProperty(value = "字体大小")
    private java.lang.Double fontSize;
    /**字体颜色*/
    @Excel(name = "字体颜色", width = 15)
    @ApiModelProperty(value = "字体颜色")
    private java.lang.String fontColor;
    /**弹窗宽度*/
    @Excel(name = "弹窗宽度", width = 15)
    @ApiModelProperty(value = "弹窗宽度")
    private java.lang.Double dialogWidth;
    /**弹窗高度*/
    @Excel(name = "弹窗高度", width = 15)
    @ApiModelProperty(value = "弹窗高度")
    private java.lang.Double dialogHeight;
    /**是否显示名字 1-显示 0-不显示*/
    @Excel(name = "是否显示名字 1-显示 0-不显示", width = 15)
    @ApiModelProperty(value = "是否显示名字 1-显示 0-不显示")
    private java.lang.Integer isDispalyName;
    /**绑定鼠标事件 left-鼠标左键  right-鼠标右键*/
    @Excel(name = "绑定鼠标事件 left-鼠标左键  right-鼠标右键", width = 15)
    @ApiModelProperty(value = "绑定鼠标事件 left-鼠标左键  right-鼠标右键")
    private java.lang.String bindEvent;
    /**鼠标事件类型 1-内嵌窗口 2-外跳地址 3-回调函数*/
    @Excel(name = "鼠标事件类型 1-内嵌窗口 2-外跳地址 3-回调函数", width = 15)
    @ApiModelProperty(value = "鼠标事件类型 1-内嵌窗口 2-外跳地址 3-回调函数")
    private java.lang.Integer eventType;
    /**鼠标事件url*/
    @Excel(name = "鼠标事件url", width = 15)
    @ApiModelProperty(value = "鼠标事件url")
    private java.lang.String eventUrl;
    /**鼠标事件参数*/
    @Excel(name = "鼠标事件参数", width = 15)
    @ApiModelProperty(value = "鼠标事件参数")
    private java.lang.String eventParams;
    /**点的显示样式：1-通过点来展示 2-通过图片来展示*/
    @Excel(name = "点的显示样式：1-通过点来展示 2-通过图片来展示", width = 15)
    @ApiModelProperty(value = "点的显示样式：1-通过点来展示 2-通过图片来展示")
    private java.lang.Integer pointStyle;
    /**点的大小*/
    @Excel(name = "点的大小", width = 15)
    @ApiModelProperty(value = "点的大小")
    private java.lang.String pointSize;
    /**图片文件地址*/
    @Excel(name = "图片文件地址", width = 15)
    @ApiModelProperty(value = "图片文件地址")
    private java.lang.String imgUrl;
    /**图片大小*/
    @Excel(name = "图片大小", width = 15)
    @ApiModelProperty(value = "图片大小")
    private java.lang.String imgSize;
    /**删除状态(0-正常,1-已删除)*/
    @Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private java.lang.Integer delFlag;
    /**创建人员ID*/
    @Excel(name = "创建人员ID", width = 15)
    @ApiModelProperty(value = "创建人员ID")
    private java.lang.String createUser;
    /**更新人员ID*/
    @Excel(name = "更新人员ID", width = 15)
    @ApiModelProperty(value = "更新人员ID")
    private java.lang.String updateUser;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**更新时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
}
